package com.gton.config.common;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @description: 标记跳过登录状态校验
 * @author: GuoTong
 * @createTime: 2022-10-05 15:41
 * @since JDK 1.8 OR 11
 **/
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface SkipTokenByJWT {
    /**
     * Description: required 是否跳过权限验证
     *
     * @author: GuoTong
     * @date: 2022-09-24 13:40:41
     */
    boolean required() default true;
}